package test.hjjtest;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.trkj.service.hjj.DataDatumService;

public class DataDatum {
	private DataDatumService dataDatumService;
	@Before
	public void up(){
		ApplicationContext ac = new ClassPathXmlApplicationContext("applicationContext-jpa.xml");
		dataDatumService = ac.getBean(DataDatumService.class);
	}
	
	@After
	public void down(){
		dataDatumService =null;
	}
	
	@Test
	public void RuleResultAdd(){
		/*dataDatumService.AddAttendancerule("下班", "第一个", "下班", "下班啊", 1);*/
	}
}
